package com.coolwen.dao;

import com.coolwen.entity.RoleResource;
import org.apache.ibatis.annotations.Param;

public interface RoleResourceMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(RoleResource record);

    int insertSelective(RoleResource record);

    RoleResource selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(RoleResource record);

    int updateByPrimaryKey(RoleResource record);

    int deleteByRR(@Param("roleId") Integer roleId, @Param("resId")Integer resId);
}